package com.jurenzhao.partssystem.work.dayli.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class WorkMessage {
    private Integer messId;

    private String messTitle;

    private String messContent;

    private String messAffix;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date messDate;

    public Integer getMessId() {
        return messId;
    }

    public void setMessId(Integer messId) {
        this.messId = messId;
    }

    public String getMessTitle() {
        return messTitle;
    }

    public void setMessTitle(String messTitle) {
        this.messTitle = messTitle == null ? null : messTitle.trim();
    }

    public String getMessContent() {
        return messContent;
    }

    public void setMessContent(String messContent) {
        this.messContent = messContent == null ? null : messContent.trim();
    }

    public String getMessAffix() {
        return messAffix;
    }

    public void setMessAffix(String messAffix) {
        this.messAffix = messAffix == null ? null : messAffix.trim();
    }

    public Date getMessDate() {
        return messDate;
    }

    public void setMessDate(Date messDate) {
        this.messDate = messDate;
    }
}